package com.course.daoI;

import java.io.FileNotFoundException;
import java.util.Vector;

import com.course.bean.AnnouncementTo;
import com.course.bean.CourseTo;

public interface CourseDAOI {

	public boolean insertCourse(CourseTo cb);
	public boolean deleteCourse(int courseid);
	public Vector<CourseTo> viewCourse();
	public Vector<CourseTo> viewCourseAt(int cid);
	public boolean updateCourse(CourseTo cb);
	public boolean insertAnnouncement(AnnouncementTo ab);
	public Vector<AnnouncementTo> viewAnnouncement(int cid);
	public Vector<AnnouncementTo> viewAllAnnouncement();
	public boolean insertMaterial(CourseTo cb)throws FileNotFoundException;
	public Vector<CourseTo> viewMaterial(String path,int cid);
	public Vector<CourseTo> getFaculty(int cid);
	public Vector<CourseTo> getStudent(int cid);
	
	
}
